@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/news/news_edit.js"]}){
<form id="newsForm" lay-filter="newsForm" class="layui-form model-form">
    <input name="newsId" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻标题<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsTitle" name="newsTitle" placeholder="请输入新闻标题" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻内容<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsContent" name="newsContent" placeholder="请输入新闻内容" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发布时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsDate" name="newsDate" placeholder="请输入发布时间" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻描述<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsDesc" name="newsDesc" placeholder="请输入新闻描述" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻图片路径<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsImagePath" name="newsImagePath" placeholder="请输入新闻图片路径" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻级别,0为最高级<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsRate" name="newsRate" placeholder="请输入新闻级别,0为最高级" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻是否检验<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsIsCheck" name="newsIsCheck" placeholder="请输入新闻是否检验" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻是否置顶<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsIsTop" name="newsIsTop" placeholder="请输入新闻是否置顶" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻是否允许评论<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsIsComment" name="newsIsComment" placeholder="请输入新闻是否允许评论" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻类别：00-机构动态;01-行业动态<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="type" name="type" placeholder="请输入新闻类别：00-机构动态;01-行业动态" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻状态：0-显示;1-隐藏<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="status" name="status" placeholder="请输入新闻状态：0-显示;1-隐藏" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">删除标志：0-存在;2-删除<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="delFlag" name="delFlag" placeholder="请输入删除标志：0-存在;2-删除" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">创建者<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="createBy" name="createBy" placeholder="请输入创建者" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">更新者<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="updateBy" name="updateBy" placeholder="请输入更新者" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}